
﻿
using God.ShoppingWebApi.DTO.Shopping;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace God.ShoppingWebApi.IService
{
    public interface IShoppingCart : IApplicationService
    { /// <summary>
      /// 显示
      /// </summary>
      /// <returns></returns>
        Task<List<ShoppingCartDto>> GetListAsync();
        //Task<PagedResultDto<CommDTO>> GetListAsync(PagedAndSortedResultRequestDto input);
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="gu"></param>
        /// <returns></returns>
        Task DeleteAsync(Guid gu);
        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="infoDTO"></param>
        /// <returns></returns>
        Task<ShoppingCartDto> Update(ShoppingCartDto shoppingCartDto);
        /// <summary>
        /// 返填
        /// </summary>
        /// <param name="gid"></param>
        /// <returns></returns>
        Task<ShoppingCartDto> Edit(Guid gid);
    }
}
